package demon;

import demon1.IMyArrayList;
import demon1.MyArrayList;

public class Test {
    public static void main(String[] args) {
        IMyArrayList iMyArrayList = new MyArrayList();
        iMyArrayList.add(1);
        iMyArrayList.add(1,2);
        System.out.println(iMyArrayList.contains(1));
        System.out.println(iMyArrayList.size());
        iMyArrayList.clear();
        iMyArrayList.display();
    }
}
